/*@internal*/
namespace ts {
    export function transformKlangScript(context: TransformationContext) {
        const resolver = context.getEmitResolver();
        return transformSourceFileOrBundle;
        function transformSourceFileOrBundle(node: SourceFile | Bundle) {
            if (isSourceFile(node)) {
                if (node.isDeclarationFile) {
                    return node;
                }
            }
            if (node.kind === SyntaxKind.Bundle) {
                return resolver.转换项目文件(node, context);
            }
            return node;
        }
    }
}
